package com.wl.cloud.core.mybatis;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;

/**
 * @author: wanglin
 * @date: 2023-12-18 周一
 * @Version: 1.0
 * @Description:
 */
public interface CustomBaseMapper<T> extends BaseMapper<T> {
    /**
     * 新增方法: 批量插入
     *
     * @param batchList
     * @return
     */
    int insertBatch(@Param("list") Collection<T> batchList);
}
